package com.suning.app.snpaasadmin.pojo;

import java.io.Serializable;

public class CfOrder implements Serializable {
    private Integer paasorderno;

    private String cdnflow;

    private String dbservid;

    private String dbmemory;

    private String dbdisk;

    private String envname;

    private Integer sdkid;

    private Integer runtimeId;

    private String services;

    private String domain;

    private Integer memory;

    private Integer disk;

    private Integer instance;

    private Integer tmplid;

    private Integer datecount;

    private Long userid;

    private Integer paid;

    private static final long serialVersionUID = 1L;

    public Integer getPaasorderno() {
        return paasorderno;
    }

    public void setPaasorderno(Integer paasorderno) {
        this.paasorderno = paasorderno;
    }

    public String getCdnflow() {
        return cdnflow;
    }

    public void setCdnflow(String cdnflow) {
        this.cdnflow = cdnflow == null ? null : cdnflow.trim();
    }

    public String getDbservid() {
        return dbservid;
    }

    public void setDbservid(String dbservid) {
        this.dbservid = dbservid == null ? null : dbservid.trim();
    }

    public String getDbmemory() {
        return dbmemory;
    }

    public void setDbmemory(String dbmemory) {
        this.dbmemory = dbmemory == null ? null : dbmemory.trim();
    }

    public String getDbdisk() {
        return dbdisk;
    }

    public void setDbdisk(String dbdisk) {
        this.dbdisk = dbdisk == null ? null : dbdisk.trim();
    }

    public String getEnvname() {
        return envname;
    }

    public void setEnvname(String envname) {
        this.envname = envname == null ? null : envname.trim();
    }

    public Integer getSdkid() {
        return sdkid;
    }

    public void setSdkid(Integer sdkid) {
        this.sdkid = sdkid;
    }

    public Integer getRuntimeId() {
        return runtimeId;
    }

    public void setRuntimeId(Integer runtimeId) {
        this.runtimeId = runtimeId;
    }

    public String getServices() {
        return services;
    }

    public void setServices(String services) {
        this.services = services == null ? null : services.trim();
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain == null ? null : domain.trim();
    }

    public Integer getMemory() {
        return memory;
    }

    public void setMemory(Integer memory) {
        this.memory = memory;
    }

    public Integer getDisk() {
        return disk;
    }

    public void setDisk(Integer disk) {
        this.disk = disk;
    }

    public Integer getInstance() {
        return instance;
    }

    public void setInstance(Integer instance) {
        this.instance = instance;
    }

    public Integer getTmplid() {
        return tmplid;
    }

    public void setTmplid(Integer tmplid) {
        this.tmplid = tmplid;
    }

    public Integer getDatecount() {
        return datecount;
    }

    public void setDatecount(Integer datecount) {
        this.datecount = datecount;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Integer getPaid() {
        return paid;
    }

    public void setPaid(Integer paid) {
        this.paid = paid;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CfOrder other = (CfOrder) that;
        return (this.getPaasorderno() == null ? other.getPaasorderno() == null : this.getPaasorderno().equals(other.getPaasorderno()))
            && (this.getCdnflow() == null ? other.getCdnflow() == null : this.getCdnflow().equals(other.getCdnflow()))
            && (this.getDbservid() == null ? other.getDbservid() == null : this.getDbservid().equals(other.getDbservid()))
            && (this.getDbmemory() == null ? other.getDbmemory() == null : this.getDbmemory().equals(other.getDbmemory()))
            && (this.getDbdisk() == null ? other.getDbdisk() == null : this.getDbdisk().equals(other.getDbdisk()))
            && (this.getEnvname() == null ? other.getEnvname() == null : this.getEnvname().equals(other.getEnvname()))
            && (this.getSdkid() == null ? other.getSdkid() == null : this.getSdkid().equals(other.getSdkid()))
            && (this.getRuntimeId() == null ? other.getRuntimeId() == null : this.getRuntimeId().equals(other.getRuntimeId()))
            && (this.getServices() == null ? other.getServices() == null : this.getServices().equals(other.getServices()))
            && (this.getDomain() == null ? other.getDomain() == null : this.getDomain().equals(other.getDomain()))
            && (this.getMemory() == null ? other.getMemory() == null : this.getMemory().equals(other.getMemory()))
            && (this.getDisk() == null ? other.getDisk() == null : this.getDisk().equals(other.getDisk()))
            && (this.getInstance() == null ? other.getInstance() == null : this.getInstance().equals(other.getInstance()))
            && (this.getTmplid() == null ? other.getTmplid() == null : this.getTmplid().equals(other.getTmplid()))
            && (this.getDatecount() == null ? other.getDatecount() == null : this.getDatecount().equals(other.getDatecount()))
            && (this.getUserid() == null ? other.getUserid() == null : this.getUserid().equals(other.getUserid()))
            && (this.getPaid() == null ? other.getPaid() == null : this.getPaid().equals(other.getPaid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPaasorderno() == null) ? 0 : getPaasorderno().hashCode());
        result = prime * result + ((getCdnflow() == null) ? 0 : getCdnflow().hashCode());
        result = prime * result + ((getDbservid() == null) ? 0 : getDbservid().hashCode());
        result = prime * result + ((getDbmemory() == null) ? 0 : getDbmemory().hashCode());
        result = prime * result + ((getDbdisk() == null) ? 0 : getDbdisk().hashCode());
        result = prime * result + ((getEnvname() == null) ? 0 : getEnvname().hashCode());
        result = prime * result + ((getSdkid() == null) ? 0 : getSdkid().hashCode());
        result = prime * result + ((getRuntimeId() == null) ? 0 : getRuntimeId().hashCode());
        result = prime * result + ((getServices() == null) ? 0 : getServices().hashCode());
        result = prime * result + ((getDomain() == null) ? 0 : getDomain().hashCode());
        result = prime * result + ((getMemory() == null) ? 0 : getMemory().hashCode());
        result = prime * result + ((getDisk() == null) ? 0 : getDisk().hashCode());
        result = prime * result + ((getInstance() == null) ? 0 : getInstance().hashCode());
        result = prime * result + ((getTmplid() == null) ? 0 : getTmplid().hashCode());
        result = prime * result + ((getDatecount() == null) ? 0 : getDatecount().hashCode());
        result = prime * result + ((getUserid() == null) ? 0 : getUserid().hashCode());
        result = prime * result + ((getPaid() == null) ? 0 : getPaid().hashCode());
        return result;
    }
}